import http from './http'
//用于导出文件、文件相关

export default {
    copyFile: function(data, fun) {
        http.get('/java/File/copyFile', data, fun)
    },
    checkFileSize: function(data, fun) {
        http.get('/java/File/checkFileSize', data, fun)
    },
    delFileById: function(data, fun) {
        http.get('/java/File/delFileById', data, fun)
    },
    upload: function(data, fun) {
        http.filePost('/java/bgimg/upload', data, fun)
    },
    hasAll: function(data, fun) {
        http.get('/java/bgimg/hasAll', data, fun)
    },

    hasAllById: function(data, fun) {
        http.get('/java/File/hasAllById', data, fun)
    },

}
